package com.senior.sendmessage.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * (Person)表实体类
 *
 * @author Baijl
 * @since 2021-06-22 11:17:03
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Person {
    //主键
    @TableId
    private Integer id;
    //姓名
    private String name;
    //性别
    private Integer age;
    //学历
    private String degree;
    //创建时间
    @TableField(exist = false)
    private LocalDateTime createTime;

}
